package tools;

import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.RandomUtil;

import java.util.Date;

public class NOUtil {

    public static long getUserNo(){
        return Long.parseLong(DateUtil.format(new Date(),"yyyyMMddHHmmss")+ RandomUtil.randomNumbers(2));
    }

//    public static void main(String[] args) {
//        System.out.println(getUserNo());
//    }
}
